<script setup>

</script>

<template>
  <div class="bgc">
    <img src="../assets/background.jpg" alt="">
    <div class="title">
      <h2>简约博客</h2>
    </div>
  </div>
</template>

<style lang="less" scoped>
    .bgc{
      position: relative;
      margin-bottom: 10vh;
        img{
        width: 100%;
        height: 100vh;
        }
        .title {
          position: absolute;
          left: 46%;
          top: 50%;
          h2{
            font-size: 5vh;
            color: #fff;
          }
        }
    }
</style>
